from car_base.uart_init import UartConfig
from car_base.wifi_init import WifiConfig
from tools.config import Config

def clientMode(cline_mode=Config.CLINET_MODE):
    cline = None
    if cline_mode == "uart":
        cline = UartConfig()
    elif cline_mode == "wifi":
        cline = WifiConfig()
    return cline


